package com.shengchao.examstar.rpc.question.api;

import com.shengchao.examstar.rpc.question.req.ErrorQuestionReq;
import com.shengchao.examstar.rpc.question.resp.ErrorQuestionInfoResp;
import com.shengchao.examstar.rpc.question.resp.ErrorQuestionStatistics;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface IErrorQuestionRpc {

    /**
     * 获取错题统计信息
     */
    ErrorQuestionStatistics getErrorQuestionStatistics(Long specificationType) throws ExecutionException, InterruptedException;

    /**
     * 获取错题列表
     */
    List<ErrorQuestionInfoResp> getErrorQuestionList(ErrorQuestionReq errorQuestionReq) throws ExecutionException, InterruptedException;

    //标记重点
    void markTheHighlights(Long questionId,Long isImportant);
}
